package com.news.cloud.jpa.domain;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.OneToMany;
import java.util.List;

/**
 * Created by hiephn on 2014/08/28.
 */
@Entity
public class Provider extends NameDescPersistable {

    @OneToMany(fetch = FetchType.LAZY, mappedBy = "provider")
    private List<RssLink> rssLinks;

    public List<RssLink> getRssLinks() {
        return rssLinks;
    }

    public void setRssLinks(List<RssLink> rssLinks) {
        this.rssLinks = rssLinks;
    }
}
